package com.qaml.mes.device.vo.eqp;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName UpkeepArchiveVO
 * @Description 保养归档
 * @Author leikai
 * @Date 2024/3/11 0011 17:01
 * @Version 1.0
 */
@Data
@ApiModel(value = "UpkeepArchiveVO", description = "保养归档")
public class UpkeepArchiveVO implements Serializable {

    private static final long serialVersionUID = 2762917560999601311L;
    /**
     * 第几周
     */
    @ApiModelProperty(value = "第几周")
    private String week;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "周开始时间")
    private Date weekStartTime;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "周结束时间")
    private Date weekEndTime;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "状态描述")
    private String desc;
}